package com.xying.pojo;

import java.util.Date;

public class Usr {
    private String idNo;

    private Date createTime;

    private Date updateTime;

    private String userName;

    private String password;

    private Integer sex;

    private String department;

    private Integer roleId;

    private Boolean status;

    public Usr(String idNo, Date createTime, Date updateTime, String userName, String password, Integer sex, String department, Integer roleId, Boolean status) {
        this.idNo = idNo;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.userName = userName;
        this.password = password;
        this.sex = sex;
        this.department = department;
        this.roleId = roleId;
        this.status = status;
    }

    public Usr() {
        super();
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo == null ? null : idNo.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }
}